<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h2>Hello World!我是蒋正午</h2>

	<form action="<%=basePath%>emp/action/addEmp.action" method="post" enctype="multipart/form-data">
		工号:<input type="text" name="empNo" id="empNo" value="111"><br /> 
		工资:<input type="text" name="salary" id="salary" value="20.5"><br /> 
		生日:<input type="text" name="birthday" id="birthday" value="2011-12-22"><br /> 
		文件:<input type="file" name="photo"><br /> 
		<input type="submit" value="提交">&nbsp;&nbsp;<input type="reset" />
	</form>


</body>
</html>
